Create(Factory,FontFaceType,FontFile[],Int32,FontSimulations) Method
In This Topic
Creates an object that represents a font face.
Syntax
Parameters
- factory
- A reference to a DirectWrite factory Factory
- fontFaceType
- A value that indicates the type of file format of the font face.
- fontFiles
- A font file object representing the font face. BecauseC1.Win.DX.DirectWrite.FontFace maintains its own references to the input font file objects, you may release them after this call.
- faceIndex
- The zero-based index of a font face, in cases when the font files contain a collection of font faces. If the font files contain a single face, this value should be zero.
- fontFaceSimulationFlags
- A value that indicates which, if any, font face simulation flags for algorithmic means of making text bold or italic are applied to the current font face.
See Also